#ifndef HISTORY_H
#define HISTORY_H

#include <QDialog>
#include <QWidget>
#include<QDebug>
#include <QCoreApplication>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QJsonValue>
#include <QDebug>
#include <QStringList>
#include "globalval.h"
namespace Ui {
class History;
}

class History : public QDialog
{
    Q_OBJECT

public:
    explicit History(QWidget *parent = 0);
    ~History();

private:
    Ui::History *ui;
       QVector<double> xData, yData;
       QVector<double> xDatahum, yDatahum;
public slots:
    void time_down();
    void dataUpSlot(QByteArray);
     void dataDownSlot();
};

#endif // HISTORY_H
